# 项目基本信息
project('minishell',
        ['c'],
        version:'0.1'
)

# 设置编译器和编译选项
cc = meson.get_compiler('c')
# cflags = ['-Wall', '-g']

# # 根据配置选项添加编译宏开关
# add_global_arguments('-DSIMPLE_CMD', language: 'c')

# 源文件
sources = files(
    'main.c',
    'parse.c',
    'init.c',
    'execute.c',
    'builtin.c'
)

# 目标可执行文件
executable(
    'minishell',
    sources,
#    c_args:cflags
)

